home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / IP_Graph3D / FourSidedPolygon.m < prev    next >
Encoding:
Text File  |  1991-08-17  |  302 b   |  24 lines

  1. #import "FourSidedPolygon.h"
  2.  
  3.  
  4. @implementation FourSidedPolygon
  5.  
  6. - init
  7. {    
  8.     [super init];
  9.     vertex[0].y = 0.0;
  10.     vertex[1].y = 0.0;
  11.     vertex[2].y = 0.0;
  12.     vertex[3].y = 0.0;
  13.     
  14.     normal1.x = 0.0;
  15.     normal1.y = 1.0;
  16.     normal1.z = 0.0;
  17.     normal2.x = 0.0;
  18.     normal2.y = 1.0;
  19.     normal2.z = 0.0;
  20.     return self;
  21. }
  22.  
  23. @end
  24.